package br.edu.fvs.principal;

import android.app.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Tela1 extends Activity implements OnClickListener  {
	
	Button btChamaTela;
	
	public void onCreate(Bundle icicle){
		super.onCreate(icicle);
		setContentView(R.layout.tela1);
	
		btChamaTela = (Button)findViewById(R.tela1.btChamaTela);
		btChamaTela.setOnClickListener(this);
	}
     public void onClick(View v){
    	 if(v == btChamaTela){
    		 Intent in = new Intent(this,Tela2.class);
    		 startActivity(in);
    		 
    	 }
     }
		
	}
